package site.wanjiahao;

public class Main {

    public static void main(String[] args) {
        String text = "Hello World";
        String pattern = "d";
        System.out.println(KMP.indexOf(text, pattern));
    }

}
